using Unity.Collections;
using Unity.Entities;

namespace LS
{
    public class PlayerInputSettingBaker : Baker<PlayerInputSettingAuthoring>
    {
        public override void Bake(PlayerInputSettingAuthoring authoring)
        {
            var entity = GetEntity(TransformUsageFlags.None);
            AddComponent(entity, new RTSSelectionSettingComponentData());
            AddComponent(entity, new RTSSelectionStateComponentData());
        }
    }
}
